home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.4 KB | 75 lines | [TEXT/MPS ] |
- /*
- File: DesktopAnimBase.idl
-
- Contains: Declarations for common base class for DesktopAnimDraw and DesktopAnimPanel objects.
-
- Version: Technology: 2/1/96 1/29/96 12/2/95 6/19/95 6/9/95 6/5/95 to Add* <6> <5> <4> <3> <2> <1>
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1995-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
- */
-
-
- #ifndef __DESKTOPANIMBASE_IDL__
- #define __DESKTOPANIMBASE_IDL__
-
- #include <Collections.idl>
- #include <DesktopAnimation.idl>
- #include <Displays.idl>
- #include <MemAllocators.idl>
- #include <Types.idl>
-
- #include <somcm.idl>
-
- interface DesktopAnimBase : SOMObject
- {
- /* initialization/destruction */
- OSStatus InitializeBase(in AVIDType prefsDisplayID, in DesktopAnimModuleDescRef moduleDescRef,
- in DesktopAnimModuleInfo moduleInfo);
- OSStatus CloseBase();
-
- /* Save/Restore state */
- OSStatus AddDesktopAnimCollectionItem(in CollectionTag tag, in UInt32 itemSize, in void* itemData);
- OSStatus GetDesktopAnimCollectionItem(in CollectionTag tag, inout UInt32 itemSize, in void* itemData);
- OSStatus GetDesktopAnimCollectionItemData(in CollectionTag tag, in MemAllocatorRef memAllocator, out UInt32 itemSize, out void* itemData);
- OSStatus RemoveDesktopAnimCollectionItem(in CollectionTag tag);
- OSStatus ReadDesktopAnimCollection();
- OSStatus WriteDesktopAnimCollection();
-
- /* Accessors */
- OSStatus GetModuleDescription(out DesktopAnimModuleDescRef moduleDescRef);
-
- #ifdef __SOMIDL__
- implementation
- {
- passthru C_h = "#include <Collections.h>"
- "#include <DesktopAnimation.h>"
- "#include <Displays.h>"
- "#include <MemAllocators.h>"
- "#include <Types.h>";
-
- passthru C_xh = "#include <Collections.h>"
- "#include <DesktopAnimation.h>"
- "#include <Displays.h>"
- "#include <MemAllocators.h>"
- "#include <Types.h>";
-
-
- /* Release Order. Note, only append to the end of this
- * list, so that the base class is forward compatible. */
- releaseorder: InitializeBase, CloseBase, GetDesktopAnimCollectionItem,
- ReadDesktopAnimCollection, AddDesktopAnimCollectionItem,
- WriteDesktopAnimCollection, GetDesktopAnimCollectionItemData,
- RemoveDesktopAnimCollectionItem, GetModuleDescription;
- };
- #endif
- };
-
- #endif
-